import * as actionTypes from '../contents/reduxUser'

const initialState = {}

export default function userinfo(state = initialState, action) {
	console.log('userinfo :>> ');
	switch (action.type) {
		//登录
		case actionTypes.USERINFO_LOGIN:
			return action.data

		//修改城市
		case actionTypes.UPDATE_CITYNAME:
            return action.data

        default:
            return state
	}
}